package com.hfmall.service;

import com.hfmall.entity.HfAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
public interface IHfAddressService extends IService<HfAddress> {
    List<HfAddress> getAllHfAddress();

    List<HfAddress> getByUser(int userId);

    void add(HfAddress address);

    void setDefault(int id,int userId);

    void update(HfAddress address);
}
